package com.example.filecabinet.dao;

import com.example.filecabinet.entity.Role_info;
import com.example.filecabinet.entity.Role_infoExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface Role_infoMapper {
    int countByExample(Role_infoExample example);

    int deleteByExample(Role_infoExample example);

    int deleteByPrimaryKey(String roleId);

    int insert(Role_info record);

    int insertSelective(Role_info record);

    List<Role_info> selectByExample(Role_infoExample example);

    Role_info selectByPrimaryKey(String roleId);

    int updateByExampleSelective(@Param("record") Role_info record, @Param("example") Role_infoExample example);

    int updateByExample(@Param("record") Role_info record, @Param("example") Role_infoExample example);

    int updateByPrimaryKeySelective(Role_info record);

    int updateByPrimaryKey(Role_info record);
}